package com.donger.common.jobs.config;

import com.donger.common.jobs.properties.XxlAdminProperties;
import com.donger.common.jobs.properties.XxlExecutorProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "tools.jobs")
public class JobProperties {


    private XxlAdminProperties admin = new XxlAdminProperties();

    private XxlExecutorProperties executor = new XxlExecutorProperties();
}
